Reference: initProc (module)

initProc initializes static data for a filter module.

Prototype

void __cdecl deinitProc(FilterModule *fm, const FilterFunctions *ff);

Parameters:
    fm      Pointer to filter module structure
    ff      Pointer to callback function structure

Return value:
    None.

Exceptions:
    No exceptions should be thrown from this function.

Requirements:
    Function must be provided by all filter modules.
    Function must be exported from filter DLL as:
          VirtualdubFilterModuleDeinit

Remarks

This function should use the ff->removeFilter() function to remove the module's filters before the function exits.

Although it has code to do so, VirtualDub doesn't actually ever call this function because the interface doesn't provide a way to unload filters.  This may change in the future, however.

[up] back to main page


VirtualDub external filter SDK 1.05©1999-2001 Avery Lee <phaeron@virtualdub.org>